<div class="sidebar_detail">
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改门票
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default"
				ng-click="updateSupport.save()" ng-disabled="updateTicketForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" role="tablist" style="clear: both">
		<li class="active"><a data-target="#addTicketBaseInfo" role="tab"
			data-toggle="tab">基本信息</a></li>
	</ul>
	<!-- Tab panels -->
	<div class="tab-content">
		<div class="tab-pane active" id="addTicketBaseInfo">
			<form id="updateTicketForm" name="updateTicketForm">
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span
								class="notNull">*</span>门票代码:</label>
							<div class="col-md-8 col-sm-10">
								<input id="code" name="code" type="text" class="form-control" ng-model="updateSupport.entity.code" disabled>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">类 型:</label>
							<div class="col-md-8 col-sm-10">
								<input id="typeName" name="typeName" type="text" class="form-control">
								<input name="type" type="hidden" class="form-control" ng-model="updateSupport.entity.type" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTicketForm.type.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">

					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">景 点:</label>
							<div class="col-md-8 col-sm-10">
								<input id="updateSpotName" name="updateSpotName" type="text" class="form-control">
								<input name="spotId" type="hidden" class="form-control" ng-model="updateSupport.entity.spotId" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateTicketForm.spotId.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span
								class="notNull">*</span>数 量:</label>
							<div class="col-md-8 col-sm-10">
								<input id="number" name="number" type="number" min="0" class="form-control" ng-model="updateSupport.entity.number" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									ng-show="updateTicketForm.number.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span
									class="notNull">*</span>成本价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="price" name="price" type="number" min="0" class="form-control" ng-model="updateSupport.entity.price" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									  ng-show="updateTicketForm.price.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span
									class="notNull">*</span>外卖价格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="salePrice" name="salePrice" type="number" min="0" class="form-control" ng-model="updateSupport.entity.salePrice" required>
								<span class="glyphicon glyphicon-ok form-control-feedback"
									  ng-show="updateTicketForm.salePrice.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal" style="margin-left: -26px;">
						<div class="form-group">
							<label class="col-sm-2 control-label"><span
								class="notNull">*</span>描 述 :</label>
							<div class="col-sm-10">
								<textarea id="description" name="description"
									class="form-control" rows="4"
									ng-model="updateSupport.entity.description"
									ng-maxlength="300"></textarea>
								<span class="error_tips"
									ng-show="updateTicketForm.description.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>